from rest_framework import serializers

# djang的权限类
from django.contrib.auth.models import Group


class GroupsSerializer(serializers.ModelSerializer):
    """
        分组类序列化器
    """

    class Meta:
        model = Group
        fields = "__all__"
